import PaginationDto from "apps/admin/src/dto/pagination.dto";
import { IsInt, IsNumber, IsOptional, IsString, Max, Min } from "class-validator";

export default class PageDto extends PaginationDto {

    @Min(0)
    @IsInt()
    @IsOptional()
    deviceId:number
    

    @Min(0)
    @IsInt()
    @IsOptional()
    status:number


    @IsNumber()
    @IsOptional()
    startTime:number;

    @IsNumber()
    @IsOptional()
    endTime:number;
}